package com.supplychain.scm.core.rocketmq.exception;

/**
 * @Description
 * @Author qiaoqiaoli
 * @Date 2022/6/23 9:39
 */

public class MqSendMsgException extends RuntimeException{

	private Integer code;

	private String errMsg;

	public MqSendMsgException(String errMsg){
		super(errMsg);
	}

	public MqSendMsgException(Integer code, String errMsg){
		super(errMsg);
		this.code = code;
	}

	public MqSendMsgException(String errMsg, Throwable e){
		super(errMsg, e);
	}
}
